Summary
Randomizes a document from the selected category
Category | AS Document |
Version | 1.0 |
Complies with Xhtml 1.0 / 1.1 rules | Yes |
Supported server programming languages | C# Visual Basic.NET |
Output content type | block |
When to use
This component is typically used when there is a need to randomly select a document from a specific category.
Programming interface
Parameters
- Location
- An identifier to a category to randomize documents from.
- PTID
- Optional, a presentation template for the documents you want to rotate. Only applicable for EPT documents.
Remarks
Since this component include documents all documents inserted must be without metadata.
In order to follow the (X)html-specification make sure that the documents you are randomizing from are following the target DocType.
Both Rotate documents and Randomize documents performs random selection among documents. The difference between them is that when Randomize documents selects a document from a list of documents Rotate documents selects a document from an specific category.